package com.czl.elm.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "foodGroup")
public class FoodGroup {
    @Id
    @ApiModelProperty(value = "食物编号")
    private String foodid;
    @ApiModelProperty(value = "食物group")
    private List<Map<String,String>> foodGroupList;

}
